<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>体验浮动</title>
    <style>
        /* img {
            float: left;
        } */

        div {
            width: 200px;
            height: 200px;
        }

        /* 网页布局：块在同一列排列 */
        .one {
            background-color: tomato;
            /* 向选择器最左边 */
            float: left;
        }
        .two {
            background-color: blue;
            /* 向选择器最右边 */
            float: right;
        }

    </style>
</head>
<body>
    <!-- 图文环绕 -->

    <!-- <img src="../favicon.ico" alt=""> -->
    <!-- 但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶 -->
    <!-- 但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶但就怕和v你还不牛奶 -->

    <div class="one">one</div>
    <div class="two">two</div>
</body>
</html>